package com.leesk.trial.springbootautoconfiguration;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: leesk
 * @Description:
 * @Date: Create in 8:24 2020/10/25
 */
@ConfigurationProperties(prefix = "leesk.auto")
public class CustomProperties {
    /**
     * 判断自动配置类是否生效
     */
    private boolean enable;

    public boolean isEnable(){
        return enable;
    }

    public void setEnable(boolean enable){
        this.enable = enable;
    }
}
